package com.example.shixun.dao;

import com.example.shixun.pojo.LessonResource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LessonResourceDao {
    public Integer saveLessonResource(LessonResource lessonResource);

    public List<LessonResource> selectLessonResourceByLessonId(Integer lessonId);

    public List<LessonResource> selectLessonResourceById(Integer id);

    public Integer deleteLessonResourceById(Integer id);

    public Integer recoverLessonResourceById(Integer id);

    public Integer updateLessonResourceById(LessonResource lessonResource);
}
